﻿namespace WMS6.Web.OrderDetailMgtServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Collections.Generic;
    using System.Data;
    using System.ServiceModel;

    [ServiceContract(Namespace="WMS6.Services", ConfigurationName="OrderDetailMgtServiceRef.IOrderDetailMgtService"), GeneratedCode("System.ServiceModel", "3.0.0.0")]
    public interface IOrderDetailMgtService
    {
        [OperationContract(Action="WMS6.Services/IOrderDetailMgtService/DeletePurchaseOrderDetail", ReplyAction="WMS6.Services/IOrderDetailMgtService/DeletePurchaseOrderDetailResponse")]
        string DeletePurchaseOrderDetail(List<string> poIDs, List<string> lineIDs, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IOrderDetailMgtService/DeleteSalesOrderDetail", ReplyAction="WMS6.Services/IOrderDetailMgtService/DeleteSalesOrderDetailResponse")]
        string DeleteSalesOrderDetail(string salesOrderID, List<string> lineIDs, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IOrderDetailMgtService/GetAllpurchaseOrderDetailInfo", ReplyAction="WMS6.Services/IOrderDetailMgtService/GetAllpurchaseOrderDetailInfoResponse")]
        DataSet GetAllpurchaseOrderDetailInfo(PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IOrderDetailMgtService/GetPurchaseOrderDetailInfoByID", ReplyAction="WMS6.Services/IOrderDetailMgtService/GetPurchaseOrderDetailInfoByIDResponse")]
        PurchaseOrderDetailInfo GetPurchaseOrderDetailInfoByID(string poID, string lineID, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IOrderDetailMgtService/GetPurchaseOrderDetailInfoListByID", ReplyAction="WMS6.Services/IOrderDetailMgtService/GetPurchaseOrderDetailInfoListByIDResponse")]
        List<PurchaseOrderDetailInfo> GetPurchaseOrderDetailInfoListByID(string poID, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IOrderDetailMgtService/GetSalesOrderDetailInfoByID", ReplyAction="WMS6.Services/IOrderDetailMgtService/GetSalesOrderDetailInfoByIDResponse")]
        SalesOrderDetailInfo GetSalesOrderDetailInfoByID(string salesOrderID, string lineID, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IOrderDetailMgtService/InsertPurchaseOrderDetail", ReplyAction="WMS6.Services/IOrderDetailMgtService/InsertPurchaseOrderDetailResponse")]
        string InsertPurchaseOrderDetail(PurchaseOrderDetailInfo purchaseOrderDetailInfo, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IOrderDetailMgtService/InsertSalesOrderDetail", ReplyAction="WMS6.Services/IOrderDetailMgtService/InsertSalesOrderDetailResponse")]
        string InsertSalesOrderDetail(SalesOrderDetailInfo salesOrderDetailInfo, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IOrderDetailMgtService/PurchaseOrderDetailPriceChanges", ReplyAction="WMS6.Services/IOrderDetailMgtService/PurchaseOrderDetailPriceChangesResponse")]
        string PurchaseOrderDetailPriceChanges(string PoID, string poLineID, float price, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IOrderDetailMgtService/UpdatePurchaseOrderDetail", ReplyAction="WMS6.Services/IOrderDetailMgtService/UpdatePurchaseOrderDetailResponse")]
        string UpdatePurchaseOrderDetail(PurchaseOrderDetailInfo purchaseOrderDetailInfo, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IOrderDetailMgtService/UpdateSalesOrderDetail", ReplyAction="WMS6.Services/IOrderDetailMgtService/UpdateSalesOrderDetailResponse")]
        string UpdateSalesOrderDetail(SalesOrderDetailInfo salesOrderDetailInfo, PubParasInfo pubParasInfo);
    }
}

